#####################################################################
# FILE NAME: libunwind.mk	                                        #
#   PURPOSE:                         								#
#    AUTHOR:                                               			#
#   HISTORY:                        								#
#####################################################################

########################################################
# Directory of the source code                         #
########################################################

LIBUNWIND_COPTS=$(COPTS)

####################################################################
#                     INCLUDES                                     #
####################################################################

LIBUNWIND_PUBLIC_HEAD_FILE=$(PLATFORM_OSP_PUB_INC_FILE) $(PLATFORM_GLB_PUB_INC_FILE)

####################################################################
#                    DEPENDENCIES                                  #
####################################################################

PLATFORM_OSP_LIBUNWIND_SRC_DIR=$(PLATFORM_OSP_LIBUNWIND_DIR)/src
PLATFORM_OSP_LIBUNWIND_ARM_DIR=$(PLATFORM_OSP_LIBUNWIND_SRC_DIR)/arm
PLATFORM_OSP_LIBUNWIND_MI_DIR=$(PLATFORM_OSP_LIBUNWIND_SRC_DIR)/mi
PLATFORM_OSP_LIBUNWIND_DWARF_DIR=$(PLATFORM_OSP_LIBUNWIND_SRC_DIR)/dwarf

PLATFORM_OSP_LIBUNWIND_ARM_INCLUDE_DIR=	-I. -I$(PLATFORM_OSP_LIBUNWIND_DIR)/include \
										-I$(PLATFORM_OSP_LIBUNWIND_DIR)/include/tdep-arm  \
										-I$(PLATFORM_OSP_LIBUNWIND_SRC_DIR) 

PLATFORM_OSP_LIBUNWIND_INCLUDE_DIR=$(PLATFORM_OSP_LIBUNWIND_ARM_INCLUDE_DIR)

LIBUNWIND_CPPFLAGS = $(PLATFORM_OSP_LIBUNWIND_INCLUDE_DIR) \
					-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
					-fno-strict-aliasing -fno-common \
					-Werror-implicit-function-declaration \
					-Wno-format-security \
					-fno-delete-null-pointer-checks \
					-DHAVE_CONFIG_H \
					-D_GNU_SOURCE \
					-DNDEBUG \
					-g \
					-O2 \
					-fexceptions \
					-Wall \
					-Wsign-compare \
					-D__EXTENSIONS__ 
					
LIBUNWIND_CFLAGS = $(LIBUNWIND_CPPFLAGS) 
LIBUNWIND_MI_CFLAGS = -fPIC -DPIC 
LIBUNWIND_ARM_CFLAGS = 	
LIBUNWIND_DWARF_CFLAGS = 

LIBUNWIND_HEADERS= \
				$(LIBUNWIND_PUBLIC_HEAD_FILE) \
				$(PLATFORM_OSP_LIBUNWIND_DIR)/include/libunwind_i.h \
				$(PLATFORM_OSP_LIBUNWIND_DIR)/include/config.h \
				$(PLATFORM_OSP_LIBUNWIND_DIR)/include/compiler.h \
				$(PLATFORM_OSP_LIBUNWIND_DIR)/include/libunwind.h \
				$(PLATFORM_OSP_LIBUNWIND_DIR)/include/libunwind-dynamic.h \
				$(PLATFORM_OSP_LIBUNWIND_DIR)/include/libunwind-common.h \
				$(PLATFORM_OSP_LIBUNWIND_DIR)/include/tdep/libunwind_i.h \
				$(PLATFORM_OSP_LIBUNWIND_DIR)/include/mempool.h \
				$(PLATFORM_OSP_LIBUNWIND_DIR)/include/dwarf.h \
				$(PLATFORM_OSP_LIBUNWIND_SRC_DIR)/os-linux.h
				
LIBUNWIND_ARM_HEADERS= \
				  $(PLATFORM_OSP_LIBUNWIND_DIR)/include/tdep-arm/dwarf-config.h \
				  $(PLATFORM_OSP_LIBUNWIND_DIR)/include/tdep-arm/ex_tables.h \
				  $(PLATFORM_OSP_LIBUNWIND_DIR)/include/tdep-arm/libunwind_i.h \
				  $(PLATFORM_OSP_LIBUNWIND_DIR)/include/tdep-arm/dwarf-config.h \
				  $(PLATFORM_OSP_LIBUNWIND_DIR)/include/libunwind-arm.h 


LIBUNWIND_DEPS_FILE=makefile \
					$(PLATFORM_OSP_LIBUNWIND_DIR)/libunwind.mk \
					$(LIBUNWIND_HEADERS) \
					
				   
####################################################################
#                    COMPILE RULES                                 #
####################################################################





LIBUNWIND_DWARF_OBJS= \
				$(OBJ_DIR)/Lexpr.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lfde.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lfind_proc_info-lsb.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lfind_unwind_table.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lparser.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lpe.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/global_libunwind.$(OBJ_SUFFIX)

LIBUNWIND_MI_OBJS= \
				$(OBJ_DIR)/init.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/flush_cache.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/mempool.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/strerror.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/backtrace.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/dyn-cancel.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/dyn-register.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/dyn-info-list.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/Ldyn-extract.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lfind_dynamic_proc_info.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/Lget_accessors.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/Lget_proc_info_by_ip.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/Lget_proc_name.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/Lput_dynamic_unwind_info.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/Ldestroy_addr_space.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/Lget_reg.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/Lset_reg.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/Lget_fpreg.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/Lset_fpreg.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/Lset_caching_policy.$(OBJ_SUFFIX)  \
				$(OBJ_DIR)/Lset_cache_size.$(OBJ_SUFFIX)  


LIBUNWIND_COMMON_32_OBJS= \
				$(OBJ_DIR)/elf32.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/os-linux.$(OBJ_SUFFIX) 
				
LIBUNWIND_ARM_32_OBJS= \
				$(OBJ_DIR)/getcontext.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lapply_reg_state.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lreg_states_iterate.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lcreate_addr_space.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lget_proc_info.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lget_save_loc.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lglobal.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Linit.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Linit_local.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Linit_remote.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lregs.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lresume.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lstep.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lex_tables.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Lstash_frame.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Ltrace.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/is_fpreg.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/regname.$(OBJ_SUFFIX) \
				$(OBJ_DIR)/Los-linux.$(OBJ_SUFFIX)
				
				
LIBUNWIND_ARM_OBJS=\
		$(LIBUNWIND_COMMON_32_OBJS) \
		$(LIBUNWIND_MI_OBJS) \
		$(LIBUNWIND_DWARF_OBJS) 

LIBUNWIND_ARM_OBJS+= $(LIBUNWIND_ARM_32_OBJS)		

OSP_LIBUNWIND_OBJS=$(LIBUNWIND_ARM_OBJS)
		

$(OBJ_DIR)/elf32.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_SRC_DIR)/elf32.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS)  -c $< -o $@ 
		
$(OBJ_DIR)/os-linux.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_SRC_DIR)/os-linux.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS)  -c $< -o $@ 
			


$(OBJ_DIR)/Lexpr.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_DWARF_DIR)/Lexpr.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_DWARF_CFLAGS) -c $< -o $@ 

$(OBJ_DIR)/Lfde.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_DWARF_DIR)/Lfde.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_DWARF_CFLAGS) -c $< -o $@ 

$(OBJ_DIR)/Lfind_proc_info-lsb.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_DWARF_DIR)/Lfind_proc_info-lsb.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_DWARF_CFLAGS) -c $< -o $@ 

$(OBJ_DIR)/Lfind_unwind_table.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_DWARF_DIR)/Lfind_unwind_table.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_DWARF_CFLAGS) -c $< -o $@ 

$(OBJ_DIR)/Lparser.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_DWARF_DIR)/Lparser.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_DWARF_CFLAGS) -c $< -o $@ 

$(OBJ_DIR)/Lpe.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_DWARF_DIR)/Lpe.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_DWARF_CFLAGS) -c $< -o $@ 

$(OBJ_DIR)/global_libunwind.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_DWARF_DIR)/global.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_DWARF_CFLAGS) -c $< -o $@

			
$(OBJ_DIR)/init.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/init.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/flush_cache.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/flush_cache.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/mempool.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/mempool.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/strerror.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/strerror.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/backtrace.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/backtrace.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/dyn-cancel.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/dyn-cancel.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/dyn-info-list.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/dyn-info-list.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/dyn-register.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/dyn-register.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/Ldyn-extract.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/Ldyn-extract.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/Lfind_dynamic_proc_info.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/Lfind_dynamic_proc_info.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/Lget_accessors.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/Lget_accessors.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/Lget_proc_info_by_ip.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/Lget_proc_info_by_ip.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				

$(OBJ_DIR)/Lget_proc_name.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/Lget_proc_name.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/Lput_dynamic_unwind_info.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/Lput_dynamic_unwind_info.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/Ldestroy_addr_space.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/Ldestroy_addr_space.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/Lget_reg.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/Lget_reg.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/Lset_reg.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/Lset_reg.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/Lget_fpreg.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/Lget_fpreg.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
							
$(OBJ_DIR)/Lset_fpreg.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/Lset_fpreg.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
				
$(OBJ_DIR)/Lset_caching_policy.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/Lset_caching_policy.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Lset_cache_size.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_MI_DIR)/Lset_cache_size.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_MI_CFLAGS) -c $< -o $@ 
					
 
 
$(OBJ_DIR)/getcontext.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/getcontext.S \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Lapply_reg_state.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Lapply_reg_state.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Lreg_states_iterate.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Lreg_states_iterate.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Lcreate_addr_space.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Lcreate_addr_space.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Lget_proc_info.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Lget_proc_info.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Lget_save_loc.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Lget_save_loc.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Lglobal.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Lglobal.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Linit.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Linit.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Linit_local.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Linit_local.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Linit_remote.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Linit_remote.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Lregs.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Lregs.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Lresume.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Lresume.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Lstep.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Lstep.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Lex_tables.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Lex_tables.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Lstash_frame.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Lstash_frame.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Ltrace.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Ltrace.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/is_fpreg.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/is_fpreg.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/regname.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/regname.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
$(OBJ_DIR)/Los-linux.$(OBJ_SUFFIX) : \
        $(PLATFORM_OSP_LIBUNWIND_ARM_DIR)/Los-linux.c \
		$(LIBUNWIND_DEPS_FILE)
		@echo " CC $(subst ../, ,$<) ";$(CC)  $(LIBUNWIND_COPTS) $(LIBUNWIND_CFLAGS) $(LIBUNWIND_ARM_CFLAGS) -c $< -o $@ 
					
	